import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/commit',
    name: 'Commit',
    component: () => import(/* webpackChunkName: "commit" */ '../views/Commit.vue')
  },
  {
    path: '/sub',
    name: 'Sub',
    component: () => import(/* webpackChunkName: "sub" */ '../views/Sub.vue')
  },
  {
    path: '/my',
    name: 'My',
    component: () => import(/* webpackChunkName: "my" */ '../views/My.vue')
  },
  {
    path: '/shean',
    name: 'Shean',
    component: () => import(/* webpackChunkName: "shean" */ '../views/Shean.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
